@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="${package.Parent}">
            <input type="hidden" id="id" value="">

            <div class="row">
                <div class="col-sm-6 b-r">
                <#list table.fields as field>
                    <#if !field.keyFlag && (field.propertyName != "sort" || field.propertyName != "status")>
                    <#noparse><#</#noparse>input id="${field.propertyName}" name="${field.comment}" required="必填" underline="true"/>
                    </#if>
                </#list>
                </div>
                <div class="col-sm-6">
                <#list table.fields as field>
                    <#if field.propertyName == "sort">
                    <#noparse><#</#noparse>input id="${field.propertyName}" name="排序" required="必填" underline="true"/>
                    </#if>
                    <#if field.propertyName == "status">
                    <#noparse><#</#noparse>select id="${field.propertyName}" name="状态" required="必填">
                        <option value="1">有效</option>
                        <option value="0">无效</option>
                    <#noparse></#</#noparse>select>
                    </#if>
                </#list>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-12 text-center">
                    <#noparse><#</#noparse>button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="${entity}InfoDlg.close()"/>
                    <#noparse><#</#noparse>button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="${entity}InfoDlg.addSubmit()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="<#noparse>${ctxPath}</#noparse>/static/dzmf/${package.Parent}/${entity?uncap_first}_info.js"></script>
@}
